//
//  WHMeModel.m
//  WHPersonalData
//
//  Created by mac on 2018/11/27.
//  Copyright © 2018年 mac. All rights reserved.

#import "WHMeModel.h"

@interface WHMeModel ()

@property(nonatomic,assign)int myApproveRedPointTotal;

@end

@implementation WHMeModel

+(NSMutableArray *)getWHMeModels
{
    NSArray*titleArry;
    NSArray*picArry;
    titleArry = @[@"头部",@"注册用户",@"服务平台",@"更新版本",@"退  出"];
    picArry   = @[@"",@"my_register",@"my_system",@"my_update",@"my_loginout"];
    NSMutableArray*mutableArray =[NSMutableArray array];
    for (int i = 0;i <titleArry.count;i++)
    {
        WHMeModel*wHMeModel=[[WHMeModel alloc]init];
        if (i ==0)
        {
            wHMeModel.isHeader = YES;
            wHMeModel.userName = getUserName;
            wHMeModel.qcode    = getUserQcode;
//            wHMeModel.imagePath=[WHFaceInfoModel searchHeadImgFaceInfoTableWithPhone:getUserPhone];
            wHMeModel.isView   = NO;
        }else
        {
            wHMeModel.imagePath=picArry[i];
        }
        wHMeModel.titleString  =titleArry[i];
        [mutableArray addObject:wHMeModel];
    }
    return mutableArray;
}
@end
